﻿using Prometheus.Binding.Validation.Rules;

namespace Prometheus.Binding.Validation
{
    /// <summary>
    /// Implement it in your control, so proValidationBinding will passes the error to ShowError method
    /// </summary>
    public interface IShowError
    {
        /// <summary>
        /// null will signal that there is no error
        /// </summary>
        void ShowError(proValidationException error);
    }
}